package com.wuzu.ecommerce.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 售后表(AfterOrder)实体类
 *
 * @author jsm
 * @since 2023-03-27 10:14:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_after_order")
public class AfterOrder implements Serializable {
    private static final long serialVersionUID = 439536065387213310L;
    /**
     * 序号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单编号
     */
    @TableField(value = "order_id")
    private Integer orderId;

    /**
     * 物流编号
     */
    @TableField(value = "l_id")
    private Integer lId;

    /**
     * 退款类型（1.仅退款2.退货退款）
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 售后状态  (1.售后中2.非售后)
     */
    @TableField(value = "after_state")
    private Integer afterState;

    /**
     * 发货状态（1.待商家处理2.待商家收货3.待买家处理）
     */
    @TableField(value = "delivery_state")
    private Integer deliveryState;
}
